projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c3b9a8
)
window: allocation x/y is 0,0
author
Benjamin Otte
<otte@redhat.com>
Thu, 17 Jan 2013 19:52:50 +0000
(20:52 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 17 Jan 2013 19:56:31 +0000
(20:56 +0100)
This was incorrect in
97ba4b1b8eb82563f13762a4bd8cfe9beb8a121c
.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index e0c21a923e55c5717aafffb1596f6633ccb17c44..098488667fb2a8b172ccd753520a239feadbab4c 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-7171,7
+7171,8
@@
gtk_window_move_resize (GtkWindow *window)
&new_geometry,
new_flags);
- gdk_window_get_position (gdk_window, &allocation.x, &allocation.y);
+ allocation.x = 0;
+ allocation.y = 0;
allocation.width = gdk_window_get_width (gdk_window);
allocation.height = gdk_window_get_height (gdk_window);